#pragma once

#include	<Net.h>
#include	<Singleton.h>
#include	<map>

class LogFile;
class LogService : public IBaseService, public ISingleton<LogService> {
public:
	LogService() : IBaseService("logserver"), _logs() {}
	virtual ~LogService() {}

	virtual void OnReceive(Sender * sender, Protocol * msg) override;

private:
	std::map<std::string, LogFile *> _logs;
};